package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.base.mapper.voipmapper.ShareLinkMapper;
import com.base.po.voip.ShareLink;
import com.base.po.voip.ShareLinkExample;
import com.base.service.ShareLinkService;

@Service("shareLinkService")
public class ShareLinkServiceImpl implements ShareLinkService {
	
	@Autowired
	private ShareLinkMapper shareLinkMapper;

	@Override
	public int countByExample(ShareLinkExample example) {
		
		return shareLinkMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ShareLinkExample example) {
		
		return shareLinkMapper.deleteByExample(example);
	}

	@Override
	public int insert(ShareLink record) {
		
		return shareLinkMapper.insert(record);
	}

	@Override
	public int insertSelective(ShareLink record) {
		
		return shareLinkMapper.insertSelective(record);
	}

	@Override
	public List<ShareLink> selectByExample(ShareLinkExample example) {
		
		return shareLinkMapper.selectByExample(example);
	}

	@Override
	public int updateByExampleSelective(ShareLink record, ShareLinkExample example) {
		
		return shareLinkMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ShareLink record, ShareLinkExample example) {
		
		return shareLinkMapper.updateByExample(record, example);
	}

	@Override
	public List<ShareLink> selectByParentId(String parentid) {
		
		return shareLinkMapper.selectByParentId(parentid);
	}

	@Override
	public ShareLink selectByPrimaryKey(String id) {
		
		return shareLinkMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ShareLink record) {
		
		return shareLinkMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<ShareLink> selectByAll(ShareLink shareLink) {
		
		return shareLinkMapper.selectByAll(shareLink);
	}

	
}
